package com.test.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan({"com.test.aop"})
public class AopConfig {

    @Bean("arithmeticCalculator")
    public ArithmeticCalculator getArithmeticCalculator(){
        return new ArithmeticCalculatorImpl();
    }
}
